<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>登录</title>
 <#include "common/Resources.ftl"/>
<link href="${base}/styles/basic.css" rel="stylesheet" type="text/css" />
<link href="${base}/styles/module/login.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${base}/scripts/module/login.js"></script>
</head>
<body class="bgcolor_eee">
	<form id="loginForm" method="post" onsubmit="return web.module.login.validate();" action="${ctx}/login/validation" >
<!-- head begin -->
<div class="header">
	<div class="headerCont">
        <div class="hotline fr">
        	<p></p>
        </div>
    </div>
</div>
<!-- head end -->
<div class="blank_20px"></div>
<div class="container">
	<div class="content">
    	<div class="newsLogin">
        	<div class="newsLogin_title">
       	  <span class="fl titleCont">GRREN内部系统</span></div>
            <div class="newsLogin_cont clearfix">
            	<div class="username" id="userLabel">用户名:</div>
                <div class="userInput"><span>
                <input type="text" class="login_userName" name="userName" id="userName" onkeydown="web.module.login.userNameKeyDown(event);"
        			onkeyup="web.module.login.userNameKeyUp();" oninput="web.module.login.userNameKeyUp();" value="${userName!''}"/></span></div>
                <div class="password" id="passLabel">密码:</div>
                <div class="passInput"><span><input type="password" id="password" class="login_password"	name="password"  
                onkeydown="web.module.login.passwordKeyDown(event);"/></span></div>
                <div class="error-tip" id="errorDiv" style="display: none;">帐号或密码错误，请重试。</div>
                <div class="loginBtn"><span><input type="submit" value="登录" class="loginIn" /></span></div>
			  <input id="dataBase" name="dataBase" type="hidden" value="${dataBase!'ugreen01'}"/> <!-- 新增数据库修改 -->
            </div>
        </div>
    </div>
</div>

<div class="blank_30px"></div>

<!-- footer begin -->
<div class="footer">
	<div class="footerCont">
    	<p class="copyright_link">为了获得最佳体验，建议您使用IE8以上浏览器,最佳分辨率:1280X768以上</p>
        <p class="copyright_en">Copyright©2013-2014 grrenGoogle.com Corporation, All Rights Reserved</p>
    </div>
</div>
<!-- footer end -->
</form>

</body>
<script>
  var msg="${msg!''}";
  if(null!=msg&&msg!=""){
	  var validateMessage = $("#errorDiv");
	  $("#errorDiv").show()
		validateMessage.html(msg);
  }
</script>
</html>